package day2

object Test4 {
  def main(args: Array[String]): Unit = {
    val f1:(String,String) =>Int = test1()
    var result = f1("yusheng","shenghuo")
    println(result)
  }

  def test1() = {
    (m1:String,m2:String) => {
      m1.length + m2.length
    }
  }
}
